package com.example.teamilkmall.mapper;

import com.example.teamilkmall.entity.AdminInfo;
import com.example.teamilkmall.entity.TeaInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeaInfoMapper {

    /**
     * 查询奶茶信息列表
     * @return
     */
    List<TeaInfo> listTeainfo(@Param("pageSize") Integer pageSize, @Param("pageNum") Integer pageNum, @Param("name") String name);

    List<TeaInfo> listTeainfoAll();

    void updateTeaInfo(TeaInfo teaInfo);

    void deloneTeaInfo(Integer id);

    void addTeaInfo(TeaInfo teaInfo);
}
